package com.xc.hotelmgr.order.modules.order.dao;

import com.xc.hotelmgr.order.modules.order.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * 订单信息
 * 
 * @author kemmy
 * @email kemmy@gmail.com
 * @date 2020-12-03 11:41:02
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {

    Integer sqlUpdateOrderStatus(Map<String,Object> params);

    OrderEntity sqlSelectByBuyOrdId(Long buyOrdId,Integer channel);

    OrderEntity sqlselectByOrderCode(Long orderCode);

    void updateOlnyOrderStatus(Map<String, Object> params);
}
